package com.zzt.questionbankquestion.mapper;

import com.zzt.questionbankquestion.bean.QuestionTypeMode;
import com.zzt.questionbankquestion.bean.dto.QuestionTypeModeDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel="spring")
public interface QuestionTypeModeCpnverter {
    QuestionTypeModeCpnverter INSTANCE= Mappers.getMapper(QuestionTypeModeCpnverter.class);

    QuestionTypeModeDTO doToDTO(QuestionTypeMode questionTypeMode);
    List<QuestionTypeModeDTO> doToDTO(List<QuestionTypeMode> questionTypeModes);
    QuestionTypeMode dtoToDO(QuestionTypeModeDTO questionTypeModeDTO);
    List<QuestionTypeMode> dtoToDO(List<QuestionTypeModeDTO> questionTypeModeDTOs);
}
